package hunter;

/**
 * 测试类
 * @Author lzp
 * @Date 2024-03-12
 */
public class Test {
    public static void main(String[] args) {
        Hunter hunter =new Hunter();
        Tiger tiger = new Tiger();
        hunter.Hunt(tiger);

        Rabbit rabbit = new Rabbit();
        hunter.Hunt(rabbit);

    }
}
